<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                template="/template/Template.xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.prime.com.tr/ui">

    <ui:define name="top"></ui:define>

    <ui:define name="body">        
            <p:dialog header="Login" draggable="true" visible="true" modal="true"
                      showEffect="bounce" hideEffect="explode" height="200" closable="false">
                <h:form>
                    <p:messages id="msgs"/>
                    <h:panelGrid columns="2" >
                        <h:outputLabel value="#{bundle.Nome}" />
                        <h:inputText value="#{pessoaController.pessoa.email}" />
                    </h:panelGrid>
                    <p:commandButton value="#{bundle.Controle_de_patrimonio}" action="#{pessoaController.login}" ajax="false"/>
                </h:form>
                    <h:outputText value="#{bundle.Controle_de_patrimonio}" />
            </p:dialog>

    </ui:define>

    <ui:define name="down"></ui:define>

</ui:composition>
